/*! Copyright(c) 2008-2012
 *
 *\file		Uart1.h
 *\brief		
 *\details	
 *
 *\author	Cai Peifeng
 *\version	
 *\date		18Jul12
 *
 *\warning	
 *
 *\history \arg	18Jul12, Cai Peifeng, Create the file
 */
#ifndef __UART1_H__
#define __UART1_H__

#ifdef __cplusplus
extern "C" {
#endif

#include "Stm8s_uart1.h"

/*!
 *\fn			void Uart1_Init();
 *\brief   
 *
 *\param[in]   
 *\param[out]  
 *
 *\return  
 *\retval  
 *
 *\note		  
 */
void Uart1_Init();

/*!
 *\fn			void Uart1_SendByte(uint8_t data);
 *\brief   
 *
 *\param[in]   
 *\param[out]  
 *
 *\return  
 *\retval  
 *
 *\note		  
 */
void Uart1_SendByte(uint8_t data);

/*!
 *\fn			void Uart1_SendString(uint8_t data, uint16_t len);
 *\brief   
 *
 *\param[in]   
 *\param[out]  
 *
 *\return  
 *\retval  
 *
 *\note		  
 */
void Uart1_SendString(uint8_t *data, uint16_t len);

/*!
 *\fn			uint8_t Uart1_ReceiveByte();
 *\brief   
 *
 *\param[in]   
 *\param[out]  
 *
 *\return  
 *\retval  
 *
 *\note		  
 */
uint8_t Uart1_ReceiveByte();


#ifdef __cplusplus
}
#endif

#endif	/* __UART1_H__ */

